﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace RestService
{
    [DataContract(Namespace = "")]
    public class RobotXYZWPRValues
    {
              
      
    [DataMember]     public int x { get; set; }
    [DataMember]     public int y { get; set; }
    [DataMember]     public int z { get; set; }
    [DataMember]    public int w { get; set; }
    [DataMember]    public int p { get; set; }
    [DataMember]    public int r { get; set; }


    public RobotXYZWPRValues()
    {  }
    
    public RobotXYZWPRValues(double x, double y, double z, double w, double p, double r)
        {
            
            this.x = Convert.ToInt32(x);
            this.y = Convert.ToInt32(y);
            this.z = Convert.ToInt32(z);
            this.w = Convert.ToInt32(w);
            this.p = Convert.ToInt32(p);
            this.r = Convert.ToInt32(r);

        }
      
     public RobotXYZWPRValues(string x, string y, string z, string w, string p, string r)
        {
            this.x = Convert.ToInt32(x);
            this.y = Convert.ToInt32(y);
            this.z = Convert.ToInt32(z);
            this.w = Convert.ToInt32(w);
            this.p = Convert.ToInt32(p);
            this.r = Convert.ToInt32(r);

        }

}
}
